.popupBody {
    width: 400px;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.popupBody .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.popupBody h2 {
    margin: 0;
    color: #333;
    text-align: center;
}

.popupBody .video-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popupBody .url-input {
    display: flex;
    gap: 10px;
}

.popupBody .file-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.popupBody #videoUrl {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popupBody #playButton {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popupBody #playButton:hover {
    background-color: #45a049;
}

.popupBody .secondary-btn {
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popupBody .secondary-btn:hover {
    background-color: #e0e0e0;
}

.popupBody .file-name {
    color: #666;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.popupBody .video-container {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.popupBody #videoPlayer {
    width: 100%;
    max-height: 300px;
    background-color: black;
}

.popupBody .custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: none;
}

.popupBody .video-container:hover .custom-controls {
    display: block;
}

.popupBody .control-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.popupBody .control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.popupBody .control-btn:hover {
    color: #4CAF50;
}

.popupBody .progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popupBody .progress-bar {
    flex: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2.5px;
    cursor: pointer;
    position: relative;
}

.popupBody #progressFill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #4CAF50;
    border-radius: 2.5px;
}

.popupBody .volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.popupBody #volumeSlider {
    width: 60px;
    height: 5px;
}

.popupBody .format-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.popupBody #formatSelector, #speedSelector {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popupBody .playback-speed {
    display: flex;
    align-items: center;
    gap: 5px;
} 